function  MenuTabmav(Menu,NowNum,TolNum)
	{
	 
	 for(var i=1;i<TolNum+1;i++)
		{	
			controlID=Menu+i;
			if(i==1)
			{
				document.getElementById(controlID).className="mavoutfirst";
			}
			else if(i==TolNum)
			{
				document.getElementById(controlID).className="mavoutlast";
			}
			else
			{
				document.getElementById(controlID).className="mavout";
			}

			controlID=Menu+"con"+i;
			document.getElementById(controlID).style.display="none";
		}
		controlID=Menu+NowNum;
		if(NowNum==1)
		{
		  document.getElementById(controlID).className="mavoverfirst";
		}
		else if(NowNum==TolNum)
		{
		  document.getElementById(controlID).className="mavoverlast";
		}
		else
		{
		  document.getElementById(controlID).className="mavover";
		}
		controlID=Menu+"con"+NowNum;
		document.getElementById(controlID).style.display="";
	}
function  MenuTabnav(Menu,NowNum,TolNum)
	{
	 
	 for(var i=1;i<TolNum+1;i++)
		{	
			controlID=Menu+i;
			if(i==1)
			{
				document.getElementById(controlID).className="navoutfirst";
			}
			else if(i==TolNum)
			{
				document.getElementById(controlID).className="navoutlast";
			}
			else
			{
				document.getElementById(controlID).className="navout";
			}

			controlID=Menu+"con"+i;
			document.getElementById(controlID).style.display="none";
		}
		controlID=Menu+NowNum;
		if(NowNum==1)
		{
		  document.getElementById(controlID).className="navoverfirst";
		}
		else if(NowNum==TolNum)
		{
		  document.getElementById(controlID).className="navoverlast";
		}
		else
		{
		  document.getElementById(controlID).className="navover";
		}
		controlID=Menu+"con"+NowNum;
		document.getElementById(controlID).style.display="";
	}
function  MenuTabNews(Menu,NowNum,TolNum){
	for(var i=1;i<TolNum+1;i++){	
		controlID=Menu+i;
		if(i==1){
			document.getElementById(controlID).className="newsoutfirst";
		}else if(i==TolNum){
			document.getElementById(controlID).className="newsoutlast";
		}else{
			document.getElementById(controlID).className="newsout";
		}
		controlID=Menu+"con"+i;
		document.getElementById(controlID).style.display="none";
	}
	controlID=Menu+NowNum;
	if(NowNum==1){
		$('.link_hospital').show();
		$('.link_doctor').hide();
	 	document.getElementById(controlID).className="newsoverfirst";
	}else if(NowNum==TolNum){
		$('.link_hospital').hide();
		$('.link_doctor').show();
	 	document.getElementById(controlID).className="newsoverlast";
	}else{
	 	document.getElementById(controlID).className="newsover";
	}
	controlID=Menu+"con"+NowNum;
	document.getElementById(controlID).style.display="";
}
